import request from '@/utils/request'
const baseUrl = '/cz-rentbox/api/v1/callbackOrderPayDetails' // 回调箱结算明细表
// import { getPayDetailTable } from '@/api/financial/callbackOrderPayDetail'


/**
# 查询 回调箱结算明细分页列表
# POST {{baseUrl}}/callbackOrderPayDetails/page
# 过滤条件： 支付单号:String payNo  箱号：String containerNo  客户 String agentName
# 提箱日期时间区间 LocalDateTime beginOutDate endOutDate   还箱日期时间区间 LocalDateTime beginReturnDate endReturnDate
 */
export const getPayDetailTable = (data: any) => {
return request({
url: baseUrl+'/page',
method: 'post',
data: data,
// data:{
//     "payNo": "HDPID2024081355085955",
//     "pageNum": 1,
//     "pageSize": 10
// }
})
}

/**
# 根据支付明细id查询回调单箱结算明细
# GET {{baseUrl}}/callbackOrderPayDetails/{id}
 */
export const getPayData = (id: any) => {
return request({
url: baseUrl+'/'+id,
method: 'GET' 
})
}